#pragma once
#include <string>
using namespace std;
class xmlattribute
{
public:

	// Constructs an empty attribute
	xmlattribute()
		: name(""), value("") { }

	// Construct an xml attribute given an input string and a name
	explicit xmlattribute(string name, string value)
		: name(name), value(value) { }

	// Gets the name of the attribute
	string get_name() const;

	// Gets the value of the attribute
	string get_value() const;

private:
	// Stores the name of the attribute
	string name;

	// Stores the value of the attribute
	string value;
};

